package edu.ynu.se.xiecheng.achitectureclass.GreenHouse.GreenhouseDao;

import edu.ynu.se.xiecheng.achitectureclass.GreenHouse.GreenhouseEntity.Device;
import edu.ynu.se.xiecheng.achitectureclass.common.dao.LogicDAO;

import java.util.Optional;


public interface DeviceDAO extends LogicDAO<Device, Long> {
  Optional<Device> findByDeviceId(String deviceId);
}

